package com.xmtlxx.sacw.mapper;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.xmtlxx.sacw.domain.DisposalInfo;
import com.xmtlxx.sacw.domain.bo.DisposalRegisteredBo;
import com.xmtlxx.sacw.domain.vo.DisposalRegisteredInfoVo;
import org.apache.ibatis.annotations.Param;

/**
 * @author hergreen
 * @description 针对表【S_DISPOSAL_INFO】的数据库操作Mapper
 * @createDate 2024-07-16 15:58:07
 * @Entity com.xmtlxx.sacw.domain.SDisposalInfo
 */
public interface DisposalInfoMapper extends BaseMapper<DisposalInfo> {

    /**
     * 查询处置已登记
     *
     * @param page 分页
     * @param ew   条件
     * @return com.baomidou.mybatisplus.extension.plugins.pagination.Page<DisposalRegisteredBo>
     * @author hergreen
     * @date 2024/08/08 14:53
     */
    Page<DisposalRegisteredBo> getDisposalRegisteredList(Page<DisposalRegisteredBo> page,
                                                         @Param(Constants.WRAPPER) Wrapper<Object> ew);

    DisposalRegisteredInfoVo getDisposalRegisteredInfo(@Param("id") String id);


}




